import { Component, OnInit } from '@angular/core';
import { SubheaderService } from '../subheader.service';

@Component({
	selector: 'm-subheader',
	templateUrl: './subheader.component.html',
	styleUrls: ['./subheader.component.scss'],
})
export class SubheaderComponent implements OnInit {
	title$ = this.subheaderService.title$;
	header$ = this.subheaderService.header$;

	constructor(private subheaderService: SubheaderService) {}

	ngOnInit() {}
}
